package com.workflowengine.config;

/**
 * @Package: com.workflowengine.event.workflowevent
 * @ClassName: eventType
 * @Author: h2cloud
 * @CreateTime: 2024/7/15 10:34 下午
 * @Description:
 */
public enum WorkFlowStatus {

	NodeEnd(1, 1, "审批开始事件"),
	NodeStart(2, 2, "审批结束事件"),
	WorkFlowStart(3, 3, "流程开始事件"),
	WorkFlowEnd(4, 4, "流程开始事件"),
	WorkFlowCancel(5, 5, "流程取消事件"),
	WorkFlowRevoke(6, 6, "流程撤销事件");

	int status;
	int eventType;
	String name;

	WorkFlowStatus(int type, int eventType, String name) {
		this.status = type;
		this.name = name;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
